package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the TP_HOJA_PRES database table.
 * 
 */
@Entity
@Table(name="TP_HOJA_PRES")
public class TpHojaPre implements Serializable {
	private static final long serialVersionUID = 1L;
	private TpHojaPrePK id;
	private String aaHojaDefi;
	private String apMatePres;
	private String apMateRepr;
	private String apPatePres;
	private String apPateRepr;
	private String coArea;
	private String coElectRepr;
	private String coPostalPres;
	private String cuo;
	private String cur;
	private String deArea;
	private String deDepartamentoPres;
	private String deDistritoPres;
	private String deObse;
	private String deProvinciaPres;
	private String deServicio;
	private String deTiDocuIden;
	private String deTiDocuIdenRepr;
	private String deViaPres;
	private String idUsuaCrea;
	private String idUsuario;
	private String inRuc;
	private String mailPres;
	private String noCur;
	private String noPres;
	private String noRepr;
	private String noViaPres;
	private BigDecimal nuAnot;
	private String nuDocu;
	private String nuDocuRepr;
	private String nuHojaDefi;
	private String persAutzPres;
	private String rptaVerif;
	private String rzSoclRepr;
	private BigDecimal servicioId;
	private String tiDocuIden;
	private String tiDocuIdenRepr;
	private String tiFormReg;
	private String tiHojaPres;
	private String tiSituHojaPres;
	private String tiViaPres;
	private Date tsHojaPres;
	private Date tsUsuaCrea;
	private Date tsVerif;
	private String ubGeogPres;
	private String usrVerif;

    public TpHojaPre() {
    }


	@EmbeddedId
	public TpHojaPrePK getId() {
		return this.id;
	}

	public void setId(TpHojaPrePK id) {
		this.id = id;
	}
	

	@Column(name="AA_HOJA_DEFI", length=4)
	public String getAaHojaDefi() {
		return this.aaHojaDefi;
	}

	public void setAaHojaDefi(String aaHojaDefi) {
		this.aaHojaDefi = aaHojaDefi;
	}


	@Column(name="AP_MATE_PRES", length=50)
	public String getApMatePres() {
		return this.apMatePres;
	}

	public void setApMatePres(String apMatePres) {
		this.apMatePres = apMatePres;
	}


	@Column(name="AP_MATE_REPR", length=50)
	public String getApMateRepr() {
		return this.apMateRepr;
	}

	public void setApMateRepr(String apMateRepr) {
		this.apMateRepr = apMateRepr;
	}


	@Column(name="AP_PATE_PRES", length=50)
	public String getApPatePres() {
		return this.apPatePres;
	}

	public void setApPatePres(String apPatePres) {
		this.apPatePres = apPatePres;
	}


	@Column(name="AP_PATE_REPR", length=50)
	public String getApPateRepr() {
		return this.apPateRepr;
	}

	public void setApPateRepr(String apPateRepr) {
		this.apPateRepr = apPateRepr;
	}


	@Column(name="CO_AREA", length=5)
	public String getCoArea() {
		return this.coArea;
	}

	public void setCoArea(String coArea) {
		this.coArea = coArea;
	}


	@Column(name="CO_ELECT_REPR", length=50)
	public String getCoElectRepr() {
		return this.coElectRepr;
	}

	public void setCoElectRepr(String coElectRepr) {
		this.coElectRepr = coElectRepr;
	}


	@Column(name="CO_POSTAL_PRES", length=10)
	public String getCoPostalPres() {
		return this.coPostalPres;
	}

	public void setCoPostalPres(String coPostalPres) {
		this.coPostalPres = coPostalPres;
	}


	@Column(length=10)
	public String getCuo() {
		return this.cuo;
	}

	public void setCuo(String cuo) {
		this.cuo = cuo;
	}


	@Column(length=14)
	public String getCur() {
		return this.cur;
	}

	public void setCur(String cur) {
		this.cur = cur;
	}


	@Column(name="DE_AREA", length=30)
	public String getDeArea() {
		return this.deArea;
	}

	public void setDeArea(String deArea) {
		this.deArea = deArea;
	}


	@Column(name="DE_DEPARTAMENTO_PRES", length=30)
	public String getDeDepartamentoPres() {
		return this.deDepartamentoPres;
	}

	public void setDeDepartamentoPres(String deDepartamentoPres) {
		this.deDepartamentoPres = deDepartamentoPres;
	}


	@Column(name="DE_DISTRITO_PRES", length=40)
	public String getDeDistritoPres() {
		return this.deDistritoPres;
	}

	public void setDeDistritoPres(String deDistritoPres) {
		this.deDistritoPres = deDistritoPres;
	}


	@Column(name="DE_OBSE", length=100)
	public String getDeObse() {
		return this.deObse;
	}

	public void setDeObse(String deObse) {
		this.deObse = deObse;
	}


	@Column(name="DE_PROVINCIA_PRES", length=40)
	public String getDeProvinciaPres() {
		return this.deProvinciaPres;
	}

	public void setDeProvinciaPres(String deProvinciaPres) {
		this.deProvinciaPres = deProvinciaPres;
	}


	@Column(name="DE_SERVICIO", length=50)
	public String getDeServicio() {
		return this.deServicio;
	}

	public void setDeServicio(String deServicio) {
		this.deServicio = deServicio;
	}


	@Column(name="DE_TI_DOCU_IDEN", length=10)
	public String getDeTiDocuIden() {
		return this.deTiDocuIden;
	}

	public void setDeTiDocuIden(String deTiDocuIden) {
		this.deTiDocuIden = deTiDocuIden;
	}


	@Column(name="DE_TI_DOCU_IDEN_REPR", length=10)
	public String getDeTiDocuIdenRepr() {
		return this.deTiDocuIdenRepr;
	}

	public void setDeTiDocuIdenRepr(String deTiDocuIdenRepr) {
		this.deTiDocuIdenRepr = deTiDocuIdenRepr;
	}


	@Column(name="DE_VIA_PRES", length=45)
	public String getDeViaPres() {
		return this.deViaPres;
	}

	public void setDeViaPres(String deViaPres) {
		this.deViaPres = deViaPres;
	}


	@Column(name="ID_USUA_CREA", length=5)
	public String getIdUsuaCrea() {
		return this.idUsuaCrea;
	}

	public void setIdUsuaCrea(String idUsuaCrea) {
		this.idUsuaCrea = idUsuaCrea;
	}


	@Column(name="ID_USUARIO", nullable=false, length=15)
	public String getIdUsuario() {
		return this.idUsuario;
	}

	public void setIdUsuario(String idUsuario) {
		this.idUsuario = idUsuario;
	}


	@Column(name="IN_RUC", length=1)
	public String getInRuc() {
		return this.inRuc;
	}

	public void setInRuc(String inRuc) {
		this.inRuc = inRuc;
	}


	@Column(name="MAIL_PRES", length=100)
	public String getMailPres() {
		return this.mailPres;
	}

	public void setMailPres(String mailPres) {
		this.mailPres = mailPres;
	}


	@Column(name="NO_CUR", length=50)
	public String getNoCur() {
		return this.noCur;
	}

	public void setNoCur(String noCur) {
		this.noCur = noCur;
	}


	@Column(name="NO_PRES", length=50)
	public String getNoPres() {
		return this.noPres;
	}

	public void setNoPres(String noPres) {
		this.noPres = noPres;
	}


	@Column(name="NO_REPR", length=50)
	public String getNoRepr() {
		return this.noRepr;
	}

	public void setNoRepr(String noRepr) {
		this.noRepr = noRepr;
	}


	@Column(name="NO_VIA_PRES", length=100)
	public String getNoViaPres() {
		return this.noViaPres;
	}

	public void setNoViaPres(String noViaPres) {
		this.noViaPres = noViaPres;
	}


	@Column(name="NU_ANOT", precision=2)
	public BigDecimal getNuAnot() {
		return this.nuAnot;
	}

	public void setNuAnot(BigDecimal nuAnot) {
		this.nuAnot = nuAnot;
	}


	@Column(name="NU_DOCU", length=20)
	public String getNuDocu() {
		return this.nuDocu;
	}

	public void setNuDocu(String nuDocu) {
		this.nuDocu = nuDocu;
	}


	@Column(name="NU_DOCU_REPR", length=20)
	public String getNuDocuRepr() {
		return this.nuDocuRepr;
	}

	public void setNuDocuRepr(String nuDocuRepr) {
		this.nuDocuRepr = nuDocuRepr;
	}


	@Column(name="NU_HOJA_DEFI", length=8)
	public String getNuHojaDefi() {
		return this.nuHojaDefi;
	}

	public void setNuHojaDefi(String nuHojaDefi) {
		this.nuHojaDefi = nuHojaDefi;
	}


	@Column(name="PERS_AUTZ_PRES", length=3)
	public String getPersAutzPres() {
		return this.persAutzPres;
	}

	public void setPersAutzPres(String persAutzPres) {
		this.persAutzPres = persAutzPres;
	}


	@Column(name="RPTA_VERIF", length=1)
	public String getRptaVerif() {
		return this.rptaVerif;
	}

	public void setRptaVerif(String rptaVerif) {
		this.rptaVerif = rptaVerif;
	}


	@Column(name="RZ_SOCL_REPR", length=250)
	public String getRzSoclRepr() {
		return this.rzSoclRepr;
	}

	public void setRzSoclRepr(String rzSoclRepr) {
		this.rzSoclRepr = rzSoclRepr;
	}


	@Column(name="SERVICIO_ID")
	public BigDecimal getServicioId() {
		return this.servicioId;
	}

	public void setServicioId(BigDecimal servicioId) {
		this.servicioId = servicioId;
	}


	@Column(name="TI_DOCU_IDEN", length=2)
	public String getTiDocuIden() {
		return this.tiDocuIden;
	}

	public void setTiDocuIden(String tiDocuIden) {
		this.tiDocuIden = tiDocuIden;
	}


	@Column(name="TI_DOCU_IDEN_REPR", length=2)
	public String getTiDocuIdenRepr() {
		return this.tiDocuIdenRepr;
	}

	public void setTiDocuIdenRepr(String tiDocuIdenRepr) {
		this.tiDocuIdenRepr = tiDocuIdenRepr;
	}


	@Column(name="TI_FORM_REG", length=2)
	public String getTiFormReg() {
		return this.tiFormReg;
	}

	public void setTiFormReg(String tiFormReg) {
		this.tiFormReg = tiFormReg;
	}


	@Column(name="TI_HOJA_PRES", length=1)
	public String getTiHojaPres() {
		return this.tiHojaPres;
	}

	public void setTiHojaPres(String tiHojaPres) {
		this.tiHojaPres = tiHojaPres;
	}


	@Column(name="TI_SITU_HOJA_PRES", length=1)
	public String getTiSituHojaPres() {
		return this.tiSituHojaPres;
	}

	public void setTiSituHojaPres(String tiSituHojaPres) {
		this.tiSituHojaPres = tiSituHojaPres;
	}


	@Column(name="TI_VIA_PRES", length=2)
	public String getTiViaPres() {
		return this.tiViaPres;
	}

	public void setTiViaPres(String tiViaPres) {
		this.tiViaPres = tiViaPres;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_HOJA_PRES")
	public Date getTsHojaPres() {
		return this.tsHojaPres;
	}

	public void setTsHojaPres(Date tsHojaPres) {
		this.tsHojaPres = tsHojaPres;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_USUA_CREA")
	public Date getTsUsuaCrea() {
		return this.tsUsuaCrea;
	}

	public void setTsUsuaCrea(Date tsUsuaCrea) {
		this.tsUsuaCrea = tsUsuaCrea;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_VERIF")
	public Date getTsVerif() {
		return this.tsVerif;
	}

	public void setTsVerif(Date tsVerif) {
		this.tsVerif = tsVerif;
	}


	@Column(name="UB_GEOG_PRES", length=8)
	public String getUbGeogPres() {
		return this.ubGeogPres;
	}

	public void setUbGeogPres(String ubGeogPres) {
		this.ubGeogPres = ubGeogPres;
	}


	@Column(name="USR_VERIF", length=30)
	public String getUsrVerif() {
		return this.usrVerif;
	}

	public void setUsrVerif(String usrVerif) {
		this.usrVerif = usrVerif;
	}

}